package com.qf.tenant.service;

import com.qf.dto.SMSDto;
import com.qf.tenant.entity.Tenant;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.vo.Result;

/**
 * <p>
 * 租户表 服务类
 * </p>
 *
 * @author 
 * @since 2023-10-26
 */
public interface TenantService extends IService<Tenant> {
    Result login(Tenant tenant);

    Result<Tenant> addTenant(Tenant tenant);

    Result sms(String phone);

    Result smslogin(SMSDto smsDto);

    Result register(Tenant tenant);

    Result smsRegister(String phone);
}
